package com.zhangjie.apiboss.service;

import com.zhangjie.apiboss.remote.ServiceDriverUserClient;
import com.zhangjie.internalcommon.dto.Car;
import com.zhangjie.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Auther: zj
 * @Date: 2024/2/26 - 02 - 26 - 18:01
 * @Description: com.zhangjie.apiboss.service
 * @version: 1.0
 */
@Service
public class CarService {

    @Autowired
    ServiceDriverUserClient serviceDriverUserClient;

    public ResponseResult addCar(@RequestBody Car car){

        return serviceDriverUserClient.addCar(car);
    }
}
